package com.sanhe.a448.event;

import androidx.annotation.NonNull;

import com.menu.app.event.BaseIntEvent;
import com.sanhe.a448.App;
import com.sanhe.a448.R;

public class TipEvent extends BaseIntEvent {

    @NonNull
    @Override
    public String toString() {
        if (getValue() <= 0) {
            return "";
        }
        if (getValue() <= 3) {
            return App.getApp().getString(R.string.touch_skin);
        } else if (getValue() <= 6) {
            return App.getApp().getString(R.string.high_temp);
        }
        return "";
    }
}
